package com.xxr.mom.ci.charging;

import com.xxr.mom.ci.api.component.config.MybatisPlusConfig;
import com.xxr.mom.ci.api.component.interceptor.LogMvcConfigurerAdapter;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @author natsuki_kining
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DataSourceTransactionManagerAutoConfiguration.class})
@Import({LogMvcConfigurerAdapter.class, MybatisPlusConfig.class})
@MapperScan("com.xxr.mom.ci.charging.mapper")
@EnableFeignClients(basePackages = {"com.xxr.mom.ci.charging.bill.feign"})
public class CiChargingApplication {

    public static void main(String[] args) {
        SpringApplication.run(CiChargingApplication.class);
    }
}
